<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>黑马面面</title>
    <link rel="stylesheet" href="css/normalize.css">
    <!-- 先引入css文件 放到自己css文件的上面 -->
    <link rel="stylesheet" href="./css/swiper.min.css" />
    <!-- 充电学习模块css -->
    <link rel="stylesheet" href="./css/swiper-bundle.min.css">
    <link rel="stylesheet" href="css/index.css">

</head>

<body>

    <section class="wrap">
        <!-- 头部区域 -->
        <header class="header">黑马面面</header>

        <!-- nav部分 -->
        <nav class="nav">
            <a href="#" class="item">
                <img src="icons/icon1.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon4.png" alt="">
                <span>模拟面试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon5.png" alt="">
                <span>面试技巧</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon6.png" alt="">
                <span>薪资查询</span>
            </a>
        </nav>

        <!-- go模块 -->
        <section class="go">
            <img src="./images/go.png" alt="">
        </section>
    </section>

    <!-- 就业指导模块 -->
    <section class="content">
        <div class="con-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span>
                就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>

        <!-- 轮播图模块 -->
        <div class="get_job_focus">
            <!-- Swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic1.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic2.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>


            </div>
            <!-- 根据需求把箭头放到container外面 -->
            <div class="swiper-button-prev"></div><!--左箭头。如果放置在swiper外面，需要自定义样式。-->
            <div class="swiper-button-next"></div><!--右箭头。如果放置在swiper外面，需要自定义样式。-->
        </div>

    </section>

    <!-- 充电学习模块 -->
    <section class="content study_con">
        <div class="con-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span>
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>

        <div class="study">
            <!-- Swiper -->
            <div class="swiper mySwiper">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说地道英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic2.png" alt="">
                        <h5>说地道英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说地道英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>



    </section>



    <!-- footer底部 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="">
            <p>我的主页</p>
        </a>
    </footer>


    <!-- 引入js文件 -->
    <script src="js/flexible.js"></script>
    <!-- 引入swiper文件才可以使用 -->
    <script src="js/swiper.min.js"></script>
    <!-- 充电学习模块js -->
    <script src="js/swiper-bundle.min.js"></script>

    <script>
        // 第一个函数里面是就业指导轮播图
        (function () {
            var swiper = new Swiper('.swiper-container', {
                // 能够显示的slider的个数
                slidesPerView: 2,
                // 每一个slider之间的距离
                spaceBetween: 30,
                // 让最大的在中间显示
                centeredSlides: true,
                loop: true,
                // 删掉分页器
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
                // 左右两侧箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();


        // 第二个函数里边的轮播图
        (function () {
            var swiper = new Swiper(".mySwiper", {
                slidesPerView: 2.2,
                spaceBetween: 20,
                // 去掉小圆点
                // pagination: {
                //     el: ".swiper-pagination",
                //     clickable: true,
                // },
            });
        })()

    </script>
</body>

</html>